﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VISS.API.Users {

    /// <summary>
    /// This interface is used for Web Admin to manage user report
    /// </summary>
    public interface IUserAvatarAdmin {

        /// <summary>
        /// Inserts the UserAvatarEnt item.
        /// </summary>
        /// <param name="item">The UserAvatarEnt item.</param>
        /// <returns>Return true if success, otherwise return false</returns>
        bool Insert(UserAvatarEnt item);

        /// <summary>
        /// Deletes by the specified user key.
        /// </summary>
        /// <param name="userKey">The user key.</param>
        /// <returns>Return true if success, otherwise return false</returns>
        bool Delete(string userKey);

        /// <summary>
        /// Updates modified time by the specified user key.
        /// </summary>
        /// <param name="userKey">The user key.</param>
        /// <param name="dateModified">The date modified.</param>
        /// <returns>Return true if success, otherwise return false</returns>
        bool Update(string userKey, DateTime dateModified);
        /// <summary>
        /// Updates status by specified user key.
        /// </summary>
        /// <param name="userKey">The user key.</param>
        /// <returns>Return true if success, otherwise return false</returns>
        bool Update(string userKey);

        /// <summary>
        /// Gets by user key.
        /// </summary>
        /// <param name="userKey">The user key.</param>
        /// <returns>Return UserFamilyProfileEnt if exists, otherwise return null</returns>
        UserAvatarEnt GetByUserKey(string userKey);
    }
}
